home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / mnode15.zip / NODEX.TMP < prev    next >
Text File  |  1993-03-29  |  2KB  |  77 lines

  1. @echo off
  2. rem C:\WC30\WCWORK\NODEx\NODEx.BAT
  3. rem Generic BBS NODE startup template .BAT
  4. rem Be *SURE* to RENAME this .BAT file to the proper node number
  5. rem IE: NODE1.BAT, NODE2.BAT etc...
  6. rem -----
  7.  
  8. rem SYSOP:
  9. rem Set This node's specific configuration by
  10. rem editing the next 3 SET commands:
  11. rem ---------------------------------------
  12. set WCNODEID=1
  13. set WCPORTID=1
  14. set WCMDM=HST
  15. rem No other node information is required to be entered
  16. rem by the Sysop other than the 3 lines above!
  17. rem -----
  18.  
  19. rem Begin Generic .BAT file routines:
  20.  
  21. Echo Executing NODE%WCNODEID%.BAT
  22. Echo ====
  23.  
  24. Echo Testing for C:\WC30\NODE%WCNODEID%.UP
  25. if exist C:\WC30\NODE%WCNODEID%.UP goto NODE_CONFLICT
  26. Echo ====
  27.  
  28. Echo NODE%WCNODEID% is not running, bringing up NODE%WCNODEID% normally.
  29. echo ====
  30.  
  31. Echo Locking out NODE %WCNODEID% via NODE%WCNODEID%.UP tag file.
  32. copy c:\wc30\node.tag c:\wc30\NODE%WCNODEID%.UP>NUL:
  33. echo ====
  34.  
  35. Echo Installing NODE%WCNODEID% TSR's and environment variables.
  36. prompt NODE %WCNODEID% $p$g
  37. dvansi
  38. Echo ====
  39.  
  40. Echo NODE%WCNODEID%.BAT complete.  Starting up the BBS via C:\WC30\CAT.BAT.
  41. cd c:\wc30
  42. cat.bat
  43. goto EXIT
  44.  
  45. REM ----------------------------
  46.  
  47. :NODE_CONFLICT
  48. CLS
  49. Echo Node %WCNODEID% Conflict detected!
  50. Echo -----
  51. Echo -
  52.  
  53. Echo NODE%WCNODEID%.UP tag file found in C:\WC30.  One of two things
  54. Echo has occured:
  55. Echo 
  56.  
  57.  
  58. Echo 1) You are attempting to start up a 2nd copy of NODE %WCNODEID%
  59. Echo    under Desqview.
  60. Echo -
  61.  
  62.  
  63. Echo 2) The BBS did not terminate normally (there was a crash or reboot)
  64. Echo    via CAT.BAT.
  65. Echo -
  66.  
  67.  
  68. Echo Please verify that you are not attempting to start up a 2nd copy of
  69. Echo NODE %WCNODEID%.  If there was a crash, please run FIXNODE.BAT.
  70. cd c:\wc30\wcwork\node%WCNODEID%
  71.  
  72. :EXIT
  73. Echo -
  74.  
  75. Echo NODE%WCNODEID%.BAT Done!
  76. Echo -
  77.